*{
  box-sizing: border-box;
}
*::before, *:after {box-sizing: border-box;}
*{margin: 0;padding: 0;}
ul,ol {
  list-style: none;
}
body {
  /* border: 1px dashed red; */
  background: #eeeeee;
  /* body的背景色会往外扩展开 */
}
.globalHeader{
  /* border: 1px solid green; */
  display: flex;
  justify-content: space-between;
  height: 40px;
  margin: 8px;
}
@media (min-width: 500px) {
  .globalHeader {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}
.globalHeader >input {
  white-space: nowrap;
  flex-grow: 2;
  border: 1px solid #dbd8d8;
  padding: 5px 8px;
}

.globalHeader > button {
  flex-grow: 1;
  margin-left: 10px;
  background-color: royalblue;
  color: #ffffff;
  border: none;
  font-size: 16px;
  cursor: pointer;
  white-space: nowrap;
}

.siteList .site > .link {
  font-size: 14px;
  margin-top: 4px;
}
.siteList .site > .close {
  position: absolute;
  right: 10px;
  top: 5px;
  display: none;
  cursor: default;
}
.siteList .site:hover > .close {
  display: block;
}


.globalMain {
  border: 1px solid transparent;
  margin: 50px 8px;
}
@media (min-width: 900px) {
  .globalMain {
    margin: 60px auto;
    width: 900px;
  }
}

.siteList {
  display: grid;
  grid-template-columns: repeat(auto-fill, 180px);
  justify-content: space-evenly;
  grid-row-gap: 20px;

}
.siteList > li {
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}
.siteList > li:hover {
  /* border: 1px dashed #dbd8d8; */
  border-radius: 4px;
  cursor: pointer;
  color:darkslateblue;
}
.siteList .site {
  background-color: #ffffff;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.siteList .site > .logo{
  /* border: 1px solid red; */
  font-size: 64px;
  height: 80px;
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.siteList .site > .last > .logo{
  font-size: 81px;
  line-height: 80px;
  height: 80px;
}
.siteList .addButton {

}